package com.woniuxy.dr_mall.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author 张哲轩
 * @since 2021-08-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class DrComment implements Serializable {

    private static final long serialVersionUID = 1L;
    private Integer id;
    @TableField("userId")
    private Integer userId;


    @TableField("ProductId")
    private Integer ProductId;

    private String text;

    private String time;

    private Integer rate;

    private String status;

    @TableField(exist = false)
    private List<String> images;

    @TableField(exist = false)
    private String productName;

    @TableField(exist = false)
    private int orderItemId;

    @TableField(exist = false)
    //private List<String> commentImages;
    private String[] commentImages;

    @TableField(exist = false)
    //private List<String> commentImages;
    private List<String> productCommentImages;

    @TableField(exist = false)
    private DrUser drUser;

}
